package com.pureut.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.order.domain.OrderSupplierManagement;
import com.pureut.order.dto.OrderSupplierManagementDto;
import com.pureut.order.export.OrderSupplierManagementExport;
import com.pureut.order.vo.OrderSupplierManagementVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderSupplierManagementMapper extends BaseMapper<OrderSupplierManagement> {

    /**
     * 供应商管理列表
     */
    List<OrderSupplierManagementDto> getAllList(OrderSupplierManagementVo orderSupplierManagementVo);

    /**
     * 查询供应商编号
     */
    List<OrderSupplierManagementDto> getSupplierNumMax();

    /**
     * 供应商数据导出
     */
    List<OrderSupplierManagementExport> getExportList(OrderSupplierManagementVo orderSupplierManagementVo);

    /**
     * 通过多个id获取数据
     */
    List<OrderSupplierManagementExport> getDataByIdStr(@Param("idList") List<String> idList);
}
